package qucanweb;

import java.util.List;

import org.bson.Document;

import com.mongodb.client.model.Filters;

import cn.com.common.EncryptUtil;
import cn.com.org.dao.MongoUtil;
import cn.com.org.dao.RedisPoolBase;
import cn.com.org.dao.RedisUtil;

public class test {

	public static void main(String[] args) {
	MongoUtil hh=new MongoUtil("userinfo", "user");
      System.out.println(hh.count());
      Document dd= hh.findOne("age", 76);
     Long hhh=  hh.deleteMany(Filters.gt("age",0));
     System.out.println(hhh);

	}

}
